package com.atguigu.day20.notify03.n1;

//todo 厨师线程
public class CookThread extends Thread {

    //    Bar bar = new Bar();
    /*Bar bar;

    public CookThread(Bar bar) {
        this.bar = bar;
    }*/

    @Override
    public void run() {
        while (true) {
            Bar.make();
        }
    }


}
